The let command opens the door to the C-calculator mode from the fitting mode, but leaves the program in fitting mode. All the let commands can always be typed directly from the C-calculator mode without having to prepend with the let keyword. The converse is also true; all the commands given in C-calculator mode could be typed from the fitting mode by prepending them with the let command. Although let is typed from the fitting mode, the remainder of the line is parsed according to C-calculator mode rules, and thus quotes are no longer swallowed. Variable expansion operator `$' is still recognized, but its use is not recommanded for C-calculator statements. See `$' for more details on this point.
let C-calculator-mode-commands
# generate the zero order first kind bessel # function between (0, 2*pi] fmode set data 2000 let x=1; X=x++ let tmp = 2*pi/data # compute sequence only once let X *= tmp let Y = besj0(X)
cmode, C, math